package com.hebeu.gfh.pojo.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;

/**
 * @Author: 刘剑利
 * @Version: v1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Activities {
    private int activityId;
    private int clubId;
    private String activityName;
    private String description;
    private String location;
    private  int participants;
    private String activityPhoto;
    @JsonFormat(pattern = "yyy-MM-dd")
    private Timestamp createdDate;
    @JsonFormat(pattern = "yyy-MM-dd")
    private Timestamp endDate;
    private String contact;
    private String contactNumber;
    private int userId;
}
